import {GET,POST,UPLOAD} from '@/api/request.js'

export default {
    getType()
    {
        return GET({
            // /shop/business/base/register
            url:'/product/base/index',
            // params:data
        })
    },
    getTypelist(data)
    {
        return GET({
            // /shop/business/base/register
            url:'/product/Typelist/index',
            params:data
        })
    },
    ProductIndex(data = {})
    {
        return POST({
            url:'/product/base/productIndex',
            params:data
        })
    },
    ProductInfo(data = {})
    {
        return POST({
            url:'product/base/productInfo',
            params:data
        })
    },
    ProductCollection(data = {})
    {
        return POST({
            url:'/product/base/collection',
            params:data
        })
    },
    ProductSearch(data = {})
    {
        return POST({
            url:'/product/base/search',
            params:data
        })
    },

}